﻿using System;

namespace FactoryMode.Calculator
{
    internal class OperationDivision : Operation
    {
        internal override double GetResult()
        {
            try
            {
                return NumberOne / NumberTwo;
            }
            catch (Exception ex)
            {
                return 0;
            }
        }
    }
}